import request from '@/utils/request'

// 查询科目管理列表
export function subjectlist(query) {
    return request({
        url: '/basic/subject/list',
        method: 'get',
        params: query
    })
}

// 新增科目管理
export function basicsubject(query) {
    return request({
        url: '/basic/subject',
        method: 'post',
        data: query
    })
}

// 修改科目管理
export function basicsubjectedit(query) {
    return request({
        url: '/basic/subject',
        method: 'put',
        data: query
    })
}

// 删除科目管理
export function basicsubjecteditdelete(query) {
    return request({
        url: '/basic/subject/' + query,
        method: 'delete'
    })
}
